package team.cdlzz.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Qualifier;
import team.cdlzz.model.pojo.Course;
import team.cdlzz.model.pojo.User;

import java.util.List;
import java.util.Map;

@Mapper
public interface CourseMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);

    List<Course> selectByPrimaryAll();

    Integer selectCount(Integer cid);

    List<Course> selectByPrimaryCountSize();

    List<Integer> UidCreateCount(Integer uid);

    int insertGetKey(Course course);

    int getMaxCid();

//    List<Course>  selectLinkStrGetList(String condition);
}